# -*- coding: utf-8 -*-
from django.db import models
'''
Created on 25/05/2011

@author: roman
'''


class Registration(models.Model):
    ROLE_ES_CHOICES = (
        ('E', 'Estudiante'),
        ('A', 'Afectado en asociación'),
        ('P', 'Profesional')
    )
    FEE_ES_CHOICES = (
        ('A', 'Sólo conferencias (3,4 Nov)'),
        ('B', 'Sólo taller fisioterapia'),
        ('C', 'Sólo taller no-fisioterapia'),
        ('D', 'Todo con fisioterapia'),
        ('E', 'Todo no-fisioterapia')
    )
    name      = models.CharField(verbose_name='Nombre', )
    lastname1 = models.CharField(verbose_name='Primer apellido')
    lastname2 = models.CharField(verbose_name='Segundo apellido', blank=True)
    nif_id    = models.CharField(verbose_name='NIF/Passport number')
    street_address    = models.CharField(verbose_name='Dirección', blank=True)
    city_address      = models.CharField(verbose_name='Ciudad')
    province_address  = models.CharField(verbose_name='Provincia')
    country           = models.CharField(verbose_name='País')
    email             = models.EmailField(verbose_name='Email')
    phone_number      = models.TextField(verbose_name='Tel.', blank=True)
    member_role       = models.CharField(max_length=1, choices=ROLE_ES_CHOICES, verbose_name='Tipo de asistente')
    fee_choice        = models.CharField(max_length=1, choices=FEE_ES_CHOICES, verbose_name='Asistencia')
    comentario        = models.TextField(verbose_name='Comentarios a añadir', blank=True)
    